package com.teamone.etl.taskmanager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.teamone.etl.taskmanager.dao.EtlTaskInputInfoDao;
import com.teamone.etl.taskmanager.entity.EtlTaskInputInfo;
import com.teamone.etl.taskmanager.service.EtlTaskInputInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 任务数据输入表(EtlTaskInputInfo)表服务实现类

 @author makejava
 @since 2021-01-09 08:46:28 */
@Service("etlTaskInputInfoService")
@Transactional(rollbackFor = Exception.class)
public class EtlTaskInputInfoServiceImpl extends ServiceImpl<EtlTaskInputInfoDao, EtlTaskInputInfo> implements EtlTaskInputInfoService {

    @Override
    public EtlTaskInputInfo getByNodeId(String nodeId) {
        return baseMapper.selectByNodeId(nodeId).get(0);
    }
}